<script>
export default {
  name: "filterPage",
  data(){
    return{
      msg:'我爱学习，学习爱我'
    }
  },
//   私有过滤器
  filters:{
    setMsg3(data,format){
      console.log(111)
      console.log(data)
      console.log(format)
    }
  }
}
</script>

<template>
<div>{{msg | setMsg}}
{{msg |setMsg(888)}}
  {{ msg | setMsg3(222)}}
</div>

</template>

<style scoped lang="less">

</style>